package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Pharmacyproduct;

public interface PharmacyProductDao {
	public List<Pharmacyproduct> getListPharmacyProduct();
	public List<Pharmacyproduct> getListPharmacyProduct(boolean active);
	public List<Pharmacyproduct> getListPharmacyProductByProviderId(Integer providerId);
	public List<Pharmacyproduct> getListPharmacyProductByProviderId(Integer providerId,boolean active);
	public List<Pharmacyproduct> getListPharmacyProductByProductId(Integer productId);
	public List<Pharmacyproduct> getListPharmacyProductByProductId(Integer productId,boolean active);
	public List<Pharmacyproduct> getListPharmacyProductByPharmacyId(Integer pharmacyId);
	public List<Pharmacyproduct> getListPharmacyProductByPharmacyId(Integer pharmacyId,boolean active);
	public Pharmacyproduct findPharmacyProductByPharmacyIdByProviderIdByProductId(Integer pharmacyId,Integer providerId,Integer productId);				
    public void update(Pharmacyproduct pharmacyProduct);
	public void add(Pharmacyproduct pharmacyProduct);
}
